{% extends "base.html" %}

{% block title_block %}Login{% endblock %}

{% block stylesheets %}
<link type="text/css" rel="stylesheet" href="/media/css/login.css" />
{% endblock %}

{% block content %}
<center>
    <form method="POST" action="." >{% csrf_token %}
        <table class="login-table">
            <tr>
                <td rowspan="3"><img src="/media/img/logo_big.png" /></td>
                <td>user:</td>
                <td>{{ form.username }}</td>
            </tr>
            <tr>
                <td>password:</td>
                <td>{{ form.password }}</td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="hidden" name="next" value="/" />
                    <a href="/">[back home]</a>
                    <input style="margin:2px;" type="submit" value="login" />
                </td>
            </tr>
        </table>
    </form>
</center>
{% endblock %}